package cn.tedu.ivos.vehicle.service;

import cn.tedu.ivos.vehicle.pojo.dto.VehicleQuery;
import cn.tedu.ivos.vehicle.pojo.dto.VehicleSaveParam;
import cn.tedu.ivos.vehicle.pojo.vo.VehicleVO;

import java.util.List;

public interface VehicleService {
    /**
     * 显示车辆全部的基本信息
     * @param vehicleQuery
     * @return
     */
    List<VehicleVO> selectVehicle(VehicleQuery vehicleQuery);

    /**
     * 新增车辆信息
     * @param vehicleSaveParam
     */
    void saveVehicle(VehicleSaveParam vehicleSaveParam);

    /**
     * 删除车辆信息
     * @param vehicleId
     */
    void deleteVehicle(Long vehicleId);


    /**
     * 移除/解绑电子围栏
     * @param vehicleId
     */
    void unbindVehicle(Long vehicleId);

    /**
     * 绑定车辆
     * @param geofenceId
     * @param vehicleId
     */
    void bindVehicle(Long geofenceId, Long vehicleId);
}
